package Test_0715;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-07-15
 * Time: 8:16
 */
class Cat{
    public String name;
    public int age;
    public Cat() {
        this.name = name;
        this.age = age;
    }

    public void mew(){
        System.out.println(name+"喵喵叫~");
    }
}
public class Test2 {
    public static void main(String[] args) {
            Cat cat=new Cat();
            cat.name="bai";
            cat.mew();
    }
}
